package com.dkm.biz.gl.persistence.entity;

public class AttrRangPo
{
	private Double attrMin;
	private Double attrMax;
	//private String json_str;

	public Double getAttrMin()
	{
		return attrMin;
	}

	public void setAttrMin(Double attrMin)
	{
		this.attrMin = attrMin;
	}

	public void setAttrMin(String attrMin)
	{
		this.attrMin = Double.parseDouble(attrMin);
	}

	public Double getAttrMax()
	{
		return attrMax;
	}

	public void setAttrMax(Double attrMax)
	{
		this.attrMax = attrMax;
	}

	public void setAttrMax(String attrMax)
	{
		this.attrMax = Double.parseDouble(attrMax);
	}

/*	@SuppressWarnings("unchecked")
	public List<AttrRangPo> getJson()
	{
		JsonConfig jsonConfig = new JsonConfig();
		jsonConfig.setRootClass(AttrRangPo.class);
		JSONArray jsonArray = JSONArray.fromObject(json_str);
		List<AttrRangPo> vs = (List<AttrRangPo>) JSONSerializer.toJava(jsonArray, jsonConfig);
		return vs;
	}

	public void setJson(List<AttrRangPo> list)
	{
		if (list == null)
		{
			return;
		}
		JSONArray jsonArray = JSONArray.fromObject(list);
		this.json_str = jsonArray.toString();
	}*/

}
